package com.jumi.microservice.domain;


import com.baomidou.mybatisplus.annotation.Version;
import com.jumi.microservice.common.base.AbstractObject;

import java.io.Serializable;

/**
 * 商品sku分仓库存DTO类
 *
 * @author Administrator
 */
public class GoodsWarehouseStockDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 商品sku id
     */
    private Long goodsSkuId;

    /**
     * 商品sku编码
     */
    private String goodsSkuCode;

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 销售库存
     */
    private Integer saleStockQuantity;

    /**
     * 锁定库存
     */
    private Integer lockedStockQuantity;

    /**
     * 商品sku的购买数量
     */
    private Integer purchaseQuantity;

    /**
     * 已销售库存
     */
    private Integer saledStockQuantity;

    /**
     * 并发版本控制
     */
    @Version
    private Integer version;

    /**
     * 补货库存
     */
    private Integer replenishStorage;

    /**
     * sku初始的补货库存
     */
    private Integer initialReplenishStorage;
    /**
     * 分仓供应链申请记录id
     */
    private Long applyId;


    public Long getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(Long goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public String getGoodsSkuCode() {
        return goodsSkuCode;
    }

    public void setGoodsSkuCode(String goodsSkuCode) {
        this.goodsSkuCode = goodsSkuCode;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Integer getSaleStockQuantity() {
        return saleStockQuantity;
    }

    public void setSaleStockQuantity(Integer saleStockQuantity) {
        this.saleStockQuantity = saleStockQuantity;
    }

    public Integer getLockedStockQuantity() {
        return lockedStockQuantity;
    }

    public void setLockedStockQuantity(Integer lockedStockQuantity) {
        this.lockedStockQuantity = lockedStockQuantity;
    }

    public Integer getSaledStockQuantity() {
        return saledStockQuantity;
    }

    public void setSaledStockQuantity(Integer saledStockQuantity) {
        this.saledStockQuantity = saledStockQuantity;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(Integer purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Integer getReplenishStorage() {
        return replenishStorage;
    }

    public void setReplenishStorage(Integer replenishStorage) {
        this.replenishStorage = replenishStorage;
    }

    public Integer getInitialReplenishStorage() {
        return initialReplenishStorage;
    }

    public void setInitialReplenishStorage(Integer initialReplenishStorage) {
        this.initialReplenishStorage = initialReplenishStorage;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }
}
